import 'package:json_annotation/json_annotation.dart';
part 'country_model.g.dart';

@JsonSerializable()
class CountryModel {
  /// 国家
  String? country;

  /// 国家Code
  String? code;

  /// 国家区号
  String? countryCode;

  /// 国旗
  String? flag;

  /// 国家缩写
  String? abbreviation;



  CountryModel();
  factory CountryModel.fromJson(Map<String, dynamic> json) =>
      _$CountryModelFromJson(json);
  Map<String, dynamic> toJson() => _$CountryModelToJson(this);
}
